<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<%@ include file="taglibs.jsp" %>
<script type="text/javascript" src="script/prototype.js"></script>
</head>
<script type="text/javascript"><!--
//window.onload = function() {
//    Event.observe('wapiForm','submit',submitMe);
//    $('cmd').focus();
//}

function submitMe(event) {
    var hostAddr = $F("host");
	alert("request to " + hostAddr);
	
    new Ajax.Request(hostAddr,
      {
        method: 'post',
        parameters: $('wapiForm').serialize(true),
        onSuccess: function (transport) {
          $('wapiResult').innerHTML = "response: " + transport.responseText;
        }
      }
    );
    Event.stop(event);
}
--></script>
<style>
a:link{text-decoration:none;color:#3333CC;}
a:visited{text-decoration:none;color:#3333CC;}
a:active{text-decoration:none;color:#3333CC;}
a:hover{text-decoration:underline;font-family: Arial; color:FF0000}
.3dfont {COLOR:#0000ff; font-size:32px;FILTER:glow(color=ffffff,strength=1) shadow(color=dedede,direction:100); POSITION:relative; WIDTH:100%} 
#tabContent td{border:1px solid #a0b5f4}
#topTab {border:1px solid #a0b5f4;text-align:left}
#subTab td {border:1px solid #a0b5f4}
</style>
<body>
<center>
<table width="100%" border="0" height="" cellpadding="0" cellspacing="0">
  <tr>
    <td height="53" bgcolor="#000033" align="center">
    <font color="#FFFFFF"  size="5" face="Times New Roman, Times, serif">
      <b><a href="./tools.jsp">Walter Personal Toolkit</a></b>
      <font color="#FFFFFF" size="3"> --Walter Fan 2/12/2009</font></td>
  </tr>
</table>
<table width="100%" border="0" height="" cellpadding="4" cellspacing="4">
  <tr>
    <td align="left">
<ul>
<li><a href="wapitool.do">Wapi Tool</a></li>
<li><a href="wapitool.do">Encoding Tool</a></li>
<li><a href="wapitool.do">Encrypt Tool</a></li>
<li><a href="wapitool.do">Timezone Tool</a></li>
<li><a href="wapitool.do">Regex Tool</a></li>
</ul>    
</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
</center>
<%@ include file="copyRight.jsp" %>
</body>
</html>